import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import config from './config'
import './index.less'
import '@/assets/icons/iconfont.css'
import Qs from "qs"
import http from './libs/axios.request'
import 'froala-editor/js/plugins.pkgd.min.js';
import 'froala-editor/js/third_party/embedly.min';
import 'froala-editor/js/third_party/font_awesome.min';
import 'froala-editor/js/third_party/spell_checker.min';
import 'froala-editor/js/third_party/image_tui.min';
import 'froala-editor/css/froala_editor.pkgd.min.css';
import 'froala-editor/js/languages/zh_cn';
import VueFroala from 'vue-froala-wysiwyg'
Vue.use(ViewUI)
Vue.prototype.qs = Qs
Vue.prototype.http = http
Vue.use(VueFroala)

/**
 * @description 生产环境关掉提示
 */
Vue.config.productionTip = true
/**
 * @description 全局注册应用配置
 */
Vue.prototype.$config = config
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
